<?php
/* @var $this UserController */
/* @var $model User */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
)); ?>

	<table>
		<tr>
			<td width="15%"><?php echo $form->label($model,'id'); ?></td>
			<td width="35%"><?php echo $form->textField($model,'id'); ?></td>
			
			<td width="15%"><?php echo $form->label($model,'email'); ?></td>
			<td width="35%"><?php echo $form->textField($model,'email'); ?></td>
		</tr>

		<tr>
			<td><?php echo $form->label($model,'customer_name'); ?></td>
			<td><?php echo $form->textField($model,'customer_name'); ?></td>
			<td><?php echo $form->label($model,'mobile'); ?></td>
			<td><?php echo $form->textField($model,'mobile'); ?></td>
		</tr>

		<tr>
			<td><?php echo $form->label($model,'address'); ?></td>
			<td><?php echo $form->textField($model,'address'); ?></td>
			<td><?php echo $form->label($model,'status'); ?></td>
			<td><?php echo $form->textField($model,'status'); ?></td>
		</tr>

		<tr>
			<td><?php echo $form->label($model,'referral_id'); ?></td>
			<td><?php echo $form->textField($model,'referral_id'); ?></td>
			<td><?php echo $form->label($model,'activate_code'); ?></td>
			<td><?php echo $form->textField($model,'activate_code'); ?></td>
		</tr>

		<tr>
			<td><?php echo $form->label($model,'create_time'); ?></td>
			<td colspan="3">
				<?php $this->widget('zii.widgets.jui.CJuiDatePicker',array(
					'model' => $model,
					'attribute'=>'create_time_from',
					'options'=>array(
						'dateFormat' => 'yy/mm/dd'
					),
					'htmlOptions'=>array('size'=>'10')
				)); ?>
				00:00:00 ~
				<?php $this->widget('zii.widgets.jui.CJuiDatePicker',array(
					'model' => $model,
					'attribute'=>'create_time_to',
					'options'=>array(
						'dateFormat' => 'yy/mm/dd'
					),
					'htmlOptions'=>array('size'=>'10')
				)); ?>
				23:59:59
				
				<?php echo $form->error($model,'create_time'); ?>
			</td>
		</tr>

		<tr>
			<td><?php echo $form->label($model,'update_time'); ?></td>
			<td colspan="3">
				<?php $this->widget('zii.widgets.jui.CJuiDatePicker',array(
					'model' => $model,
					'attribute'=>'update_time_from',
					'options'=>array(
						'dateFormat' => 'yy/mm/dd'
					),
					'htmlOptions'=>array('size'=>'10')
				)); ?>
				00:00:00 ~
				<?php $this->widget('zii.widgets.jui.CJuiDatePicker',array(
					'model' => $model,
					'attribute'=>'update_time_to',
					'options'=>array(
						'dateFormat' => 'yy/mm/dd'
					),
					'htmlOptions'=>array('size'=>'10')
				)); ?>
				23:59:59
				
				<?php echo $form->error($model,'update_time'); ?>
			</td>
		</tr>


	</table>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->